package com.santoker.baseservice.util;

public class DateUtils {

    /**
     * 获取当前时间，精确到秒的时间戳
     *
     * @return
     */
    public static int getSecondTimestamp() {
        long t = System.currentTimeMillis();
        String timestamp = String.valueOf(t / 1000l);
        return Integer.valueOf(timestamp);
    }

}
